<template>
  <Layout ref="load" class="message-index">
    <Navbar />
    <CellChatGroup />
  </Layout>
</template>

<script>
import sfc from "@/utils/create";
import CellChatGroup from "./component/CellChatGroup";
export default sfc({
  name: "message-index",
  data() {
    return {};
  },
  mounted() {
    this.$store.dispatch("getChatList").then(list => {
      this.$refs.load.success();
    });
  },
  methods: {},
  components: {
    CellChatGroup
  }
});
</script>